home *** CD-ROM | disk | FTP | other *** search
/ BMUG PD-ROM BV3 / BMUG PD-ROM Version BV3 (CDRM1097900).iso / HyperCard / Games / HyperArchy / HyperArchy Manual / card_6594.txt < prev    next >
Text File  |  1990-02-11  |  2KB  |  86 lines

  1. -- card: 6594 from stack: in
  2. -- bmap block id: 6739
  3. -- flags: 0000
  4. -- background id: 2784
  5. -- name: 
  6.  
  7.  
  8. -- part 2 (field)
  9. -- low flags: 01
  10. -- high flags: 0000
  11. -- rect: left=6 top=51 right=312 bottom=505
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 0
  15. -- font id: 3
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: 
  20.  
  21.  
  22. -- part 5 (button)
  23. -- low flags: 00
  24. -- high flags: 0000
  25. -- rect: left=474 top=307 right=336 bottom=510
  26. -- title width / last selected line: 0
  27. -- icon id / first selected line: 26425 / 26425
  28. -- text alignment: 1
  29. -- font id: 0
  30. -- text size: 12
  31. -- style flags: 0
  32. -- line height: 16
  33. -- part name: Next
  34. ----- HyperTalk script -----
  35. on mouseUp
  36.   visual effect scroll left
  37.   go to next card
  38. end mouseUp
  39.  
  40.  
  41. -- part 6 (button)
  42. -- low flags: 00
  43. -- high flags: 0000
  44. -- rect: left=2 top=22 right=51 bottom=38
  45. -- title width / last selected line: 0
  46. -- icon id / first selected line: 29114 / 29114
  47. -- text alignment: 1
  48. -- font id: 0
  49. -- text size: 12
  50. -- style flags: 0
  51. -- line height: 16
  52. -- part name: Return
  53. ----- HyperTalk script -----
  54. on mouseUp
  55.   visual effect iris close
  56.   pop card
  57. end mouseUp
  58.  
  59.  
  60.  
  61. -- part 7 (button)
  62. -- low flags: 00
  63. -- high flags: 0000
  64. -- rect: left=1 top=307 right=336 bottom=38
  65. -- title width / last selected line: 0
  66. -- icon id / first selected line: 902 / 902
  67. -- text alignment: 1
  68. -- font id: 0
  69. -- text size: 12
  70. -- style flags: 0
  71. -- line height: 16
  72. -- part name: Prev
  73. ----- HyperTalk script -----
  74. on mouseUp
  75.   visual effect scroll right
  76.   go to previous card
  77. end mouseUp
  78.  
  79.  
  80. -- part contents for card part 2
  81. ----- text -----
  82. So, to get all the information on a job, in order to create an invoice, you would start at the Job Card, get the info there, then look up to get the client address from the parent Client Card, and then look down to all the children Expense Cards.
  83.  
  84. If you wanted to get a list of all the client addresses for a mailing list, you could just look across the client level (look at all the Client Cards).
  85.  
  86. HyperArchy uses one HyperCard stack for each level.  This example covers three stacks named Clients, Jobs, and Expenses.  Every card has hidden lists in it for keeping track of the Parent Card to which it is attached, and for keeping track of the Child Cards attached to itself.  As you use HyperArchy to make new cards or delete unused ones, HyperArchy keeps those lists up to date.  You can use HyperArchy buttons to jump from a card to its parent, or to its children.